import { ref } from "vue"

export const useCounter = () => {
  const count = ref(100)
  const increment = () => {
    count.value++
  }
  const decrement = () => {
    count.value--
  }

  return { count, increment, decrement }
}
